			%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,11ptn]{report}                                   %
\usepackage[italian]{babel}                                             %
\usepackage{graphicx}                                                   %
\usepackage[colorlinks=true]{hyperref}                                  %
\usepackage{url}                                                        %
\usepackage{eurosym}                                                    %
\usepackage{lastpage}                                                   %
\usepackage{fancyhdr}                                                   %
\hypersetup{linkbordercolor=1 1 1}                                      %
\hypersetup{urlcolor=blue}                                              %
\hypersetup{linkcolor=black}                                            %
\graphicspath{{../immagini/}}                                           %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\begin{document}
\section{zio pueco pollo}

\section{Componente View}

\section{Componente Controller}

\subsection{Classe Controller}

\paragraph{Attributi}
Gli attributi della classe sono tutti privati.
 \begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
model& FB14 - FB15 - FD05 - FD06\\
\hline
error& QB02 - QP01\\
\hline
\end{tabular}
\end{tabular}
\end{center}

 \begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
convertSize(String exponent) : void& FB01 - FB02 - FB03\\
\hline
dimensionPow(int dimension, int indexPow) : long& FB01 - FB02 - FB03\\
\hline

\end{tabular}
\end{tabular}
\end{center}

 \begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Classi Interne} & \textbf{Requisito associato}\\
\hline
openSimulation& FB14\\
\hline
saveSimulation& FB15\\
\hline
openProject& FD05\\
\hline
saveProject& FD06\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\subsection{Classe SimulationManager}
\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
existError& QB02 - QP01\\
\hline
panel& FB01 - FB02 - FB03 - FB07 - FB08 - FB09\\
\hline

simId& FB14 - FB15\\
\hline
busySpace& FP01\\
\hline
\end{tabular}
\end{tabular}
\end{center}
 
\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
writeError() : void& QB02 - QP01\\
\hline
startSimulation() : void& FB11 - FB12 - FB13\\
\hline
dimPart() : void& FB01\\
\hline
dimBlock() : void& FB02\\
\hline
dimFile() : void& FP01 - FD04\\
\hline
dimMultiFile() : void& FP01\\
\hline
setFreeSpace() : void& FP01\\
\hline
testAddFile() : void& FP01 - FD04\\
\hline
testDeleteFile(String fileName, String fileValue) : void& FP01\\
\hline
updateError() : void& QB02 - QP01\\
\hline
setBusySpace() : void& FP01\\
\hline
changeFileSystemType(String newType) : void& FB04 - FB05 - FB06\\
\hline
getExistError(int x) : boolean& QB02 - QP01\\
\hline
checkFile() : void& FP01 - FD04\\
\hline
validMultiFile() : boolean& FP01\\
\hline
setMaxFile(long maxLenght, String exp) : void& FB11\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Classi Interni} & \textbf{Requisito associato}\\
\hline
TestDimPart& FB01\\
\hline
TestComboDimPart& FB01\\
\hline
TestDimBlock& FB02\\
\hline
TestComboDimBlock& FB02\\
\hline
TestDimFile& FB03 - FD04 - FB07 - FB08\\
\hline
TestComboDimFile& FB03 - FD04 - FB07 - FB08\\
\hline
TestDimMultiFile& FB03 - FP01\\
\hline
TestComboDimMultiFile& FB03 - FP01\\
\hline
TestFragmentation& FB08\\
\hline
TestDirectBlockFirstInode& FB09\\
\hline
TestDimiNode& FB09\\
\hline
TestComboFSType& FB04 - FB05 - FB06\\
\hline
TestComboMaxAddressLevel& FB09\\
\hline
TestRotationSpeed& FP02\\
\hline
TestSeekTime& FP03\\
\hline
TestTrack& FP04\\
\hline
TestMainRecord& FB09\\
\hline
TestExtensionRecord& FB09\\
\hline
TestFileName& FP01\\
\hline
TestComboAllocationType& FP01\\
\hline
TestSetAsDefault& FB10\\
\hline
resetToDefault&  FB10\\
\hline
showHideAdvancePannel& FP02 - FP03 - FP04 - FP05\\
\hline
startSimulation& FB11 - FB12 - FB13\\
\hline
resetToDefault& FB10\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\subsection{Classe  ProjectManager}

 \begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
panel & FB01 - FB02 - FB03 - FB07 - FB08 - FB09\\
 \hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
addSimulation(int simulationId) : void& FD07\\
\hline
removeSimulation(int simulationId) : void& FD08\\
\hline
importSimulation(String filePath) : int& FD07\\
\hline
startCompare() : void& FD02 -  FD03\\
\hline
addCompare(int simId) : void& FD02 -  FD03\\
\hline
removeCompare(int simId) : void& FD02 -  FD03\\
\hline
exportPdf(String filePath) : void& FD09\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\subsection{Classe PreferencesManager}

 \begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributi} & \textbf{Requisito associato}\\
\hline
view & FB01 - FB02 - FB03 - FB07 - FB08 - FB09\\
\hline
\end{tabular}
\end{tabular}
\end{center}


\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Classi Interne} & \textbf{Requisito associato}\\
\hline
TestComboLanguage& QP01\\
\hline
\end{tabular}
\end{tabular}
\end{center}


\subsection{Package View}
\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{3.7cm}|p{3.7cm}|p{5.0cm}|}
\hline
	\textbf{Componente} & \textbf{Metodo} & \textbf{Requisito associato}\\
\hline
	View& &FB01 - FB02 - FB03 - FB04 - FB05 - FB06 - FB07 - FB08 - FB09 - FB10 - FB11 - FB12 - FB13 - FB14 - FB15 - FD01 - FD02 - FD04 - FD05 - FD06 - FD07 - FD08 - FD09 - FD10 - FP01 - FP02 - FP03 - FP04 - PB01 - QB02 - QB03 - QP01 - QP02 - VB04\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\subsection{Package Controller}
\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Componente} & \textbf{Requisito associato}\\
\hline
Controller& FB08 - FB14 - FB15 - FD01 - FD05 - FD06 - FD07 - FD08 - FP01 - FD05 - QP02\\
\hline
EvenHandle& FB08 - FB14 - FB15 - FD01 - FD05 - FD06 - FD07 - FD08 - FP01 - FD05 - QP02\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\subsection{Package Model}

\paragraph{Classe Model}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
	simulations & FB14 - FB15\\
\hline
	project & FD05 - FD06\\
\hline
	language & QP01\\
\hline
	schemaPath & FD05 - FB14\\
\hline
	setupPath & QP01 - FB15\\
\hline
	guiTranslatePath & QP01\\
\hline
	startupScreen &  --------------------------->????????????????\\
\hline
	getHelpPath &QB02 - QP02\\
\hline
	defaultSimulationPath & FB15\\
\hline
	changedSetup & FB15\\
\hline
 \end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
	\underline{loadSetup} () : void& QP01\\
\hline
	\underline{saveSetup} () : void& QP01\\
\hline
	\underline{translate} (String message) : String& QP01\\
\hline
	\underline{help} (String message) : String& QB02 - QP02 - VB04\\
\hline
	\underline{newSimulation} (String name, SimulationPanel panel) : void& FB15\\
\hline
	\underline{openSimulation} (String path, SimulationPanel panel) : void& FB15\\
\hline
	\underline{resetToDefault} (int simulationId, SimulationPanel panel) : void& VB03\\
\hline
	\underline{switchFileSystem} (int simulationId, String fileSystemType) : void& FB04 - FB05 - FB06\\
\hline
	\underline{saveSimulation} (int index, String path, SimulationPanel panel) : void& FB14\\
\hline
	\underline{startSimulation} (int simId, SimulationPanel panel) : void& FB11 - FB12 - FB13\\
\hline
	\underline{removeSimulation} (int simId, SimulationPanel panel) : void& FD08\\
\hline
	\underline{exportSimulationPng} (String simPath, SimulationPanel panel) throws java.io.FileNotFoundException : void& FD10\\
\hline
	\underline{exportSimulationPdf} (String simPath, SimulationPanel panel) : void& FD09\\
\hline
	\underline{newProject} (String name, ProjectPanel panel) : void& FD01\\
\hline
	\underline{addSimulation} (String simName, SimulationPanel panel, int projectId) : void& FD07\\
\hline
	\underline{openProject} (String path, ProjectPanel panel) : void& FD06\\
\hline
	\underline{saveProject} (int prjId, String path, ProjectPanel panel) : void& FD05\\
\hline
	\underline{saveAsDefault} (int simId) : void& FB10\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\paragraph{Classe Project}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
	name & FD01\\
\hline
	simulationsRef	& FD07 - FD08\\
\hline
	compare	& FD02 - FD03\\
\hline
	modified	& FD05\\
\hline
	bestCompare	& FD02\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
	numberOfSimulation() : int & FD07 - FD08\\
\hline
	save(Element projectRoot) : void & FD05\\
\hline
	open(Element projectRoot) : void & FD01 - FD06\\
\hline
	addSimulation(Integer simulationId)() : void & FD07\\
\hline
	importSimulation(String filePath) : int & FD07\\
\hline
	importSimulation(String filePath, SimulationPanel panel) : void & FD07\\
\hline
	removeSimulation(int simId)() : void & FD08\\
\hline
	getSimulation(int simId) : Integer & FD07 -  FD08\\
\hline
	addCompare(Integer SimId) : void & FD07 -  FD08\\
\hline
	removeCompare(Integer simId) : void & FD07 -  FD08\\
\hline
	compare() : void & FD02 -  FD03\\
\hline
	compareOverhead() : void & FD02 -  FD03\\
\hline
	compareMaxLenghtFile() : void & FD02 -  FD03\\
\hline
	compareFileSystem() : void & FD02 -  FD03\\
\hline
	compareInternalFragmentation() :  & FD02 -  FD03\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\paragraph{Classe Simulation}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
	simName & FB10\\
\hline
	files & FP01\\
\hline
	usedBlocks & FB08\\
\hline
	partitionDimension & FB01\\
\hline
	partitionExponent & FB01\\
\hline
	blockDimension & FB02\\
\hline
	blockExponent	& FB02\\
\hline
	addressDimension & FB11 -  FB12 -  FB13\\
\hline
	fileAllocationType & FP01\\
\hline
	allocationNextIndex & FP01\\
\hline
	rotationSpeed	& FP02\\
\hline
	trackPercent & FP04\\
\hline
	seekTime & FP03\\
\hline
	trackSectors & FP04\\
\hline
	maxLenghtFile	& FB11\\
\hline
	internalFragmentation	& FB12 -  FB13\\
\hline
	inflationIndex	& FB12 -  FB13\\
\hline
	averageReading & FP05\\
\hline
	sizeFileSystem	& FB12 -  FB13\\
\hline
	modifiedCamps & FB14\\
\hline
	chooseAdvanced & FB05\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
	\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
	save(Element simulationRoot) : void & FB14\\
\hline
	single(Section item) : void & FB08\\
\hline
	insParts(Section section) :  & FB08\\ 
\hline
	calculateRandomSpace() : long & FB08\\
\hline
	start()	: void & FB11 -  FB12 -  FB13\\
\hline
	open(Element simulationRoot) : void & FB15\\
\hline
	addFile(File item) : void &  FP01\\
\hline
	breakFile(File item) : void & FB08\\
\hline
	deleteFile(String ID) : void & FP01\\
\hline
	deleteParts(File item) : void & FP01\\
\hline
	viewMaxFile()	: void & FB11 - FB12 - FB13\\
\hline
	calculateAddressDimension() : void & FB11 - FB12 - FB13\\
\hline
	\underline{getNearestTwoPow}(int address) : int & FB11 - FB12 - FB13\\
\hline
	\underline{getNearestExponentOfTwo}(double address) : int & FB11 - FB12 - FB13\\
\hline
	calculateBlockNumber() : int & FB11 - FB12 - FB13\\
\hline
	fragAverage() : double & FB08\\
\hline
	calculateFileFragmentation(long sizeFile) : double & FB08\\
\hline
	firstFit(Section item) : void & FP01\\
\hline
	bestFit(Section item) : void & FP01\\
\hline
	worstFit(Section item) : void & FP01\\
\hline
	nextFit(Section item) : void & FP01\\
\hline
	findSpace(int first, int last, int spaceNedded) : long & FP01\\
\hline
	readingTime() : double & FP05\\
\hline

\end{tabular}
\end{tabular}
\end{center}

\paragraph{Classe Ext2}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
	addressLevel	& FB09 - FB10\\
\hline
	firstInodeDirectBlock	& FB09 - FB10\\
\hline
	inodeDimension	& FB09 - FB10\\
\hline
	inodeNumberMaxFile	& FB09 - FB10\\
\hline
	usedInodeNumber	& FB09 - FB10\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
	save(Element simulationRoot) : void & FB14\\
\hline
	getInodeNumber(long sizeFile) : long & FB11 - FB12\\
\hline
	calculateMaxFile() : int & FB11\\
\hline
	inflationIndex(long sizeFile) : double & FB12 - FB13\\
\hline
	inflactionIndexAverage() : double & FB12- FB13\\
\hline
	fileSystemDimension() : long & FB12- FB13\\
\hline
	start() : void & FB11 - FB12- FB13\\
\hline
	open(Element simulationRoot) : void & FB15\\
\hline
	viewMaxFile()	: void & FB11\\
\hline

	getConfigurationValues() : Vector & FB01- FB02 - FB03 - FB09\\
\hline
	getResultsValues() : Vector & FB11 - FB12- FB13\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\paragraph{Classe Fat32}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
	records & FB09 - FB10\\
\hline
	sizeFileSystem	& FB09 - FB10\\
\hline
	maxPartitionSize & FB09 - FB10\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
open(Element simulationRoot) : void & FB15\\
\hline
save(Element simulationRoot) : void & FB14\\
\hline
start() : void & FB11 - FB12 - FB13\\
\hline
inflationIndex(long sizeFile) : double & FB12 - FB13\\
\hline
getFileMaxSize() : double & FB11\\
\hline
getFat32Dim() : double & FB11 - FB12 - FB13\\
\hline
viewMaxFile()	: void & FB11\\
\hline
getConfigurationValues() : Vector & FB01 - FB02 - FB03 - FB09\\
\hline
getResultsValues() : Vector & FB11 - FB12 - FB13\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\paragraph{Classe Ntfs}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
	baseRecord & FB09 - FB10\\
\hline
	extensionRecord & FB09 - FB10\\
\hline
	baseRecordCouples & FB09 - FB10\\
\hline
	extensionRecordCouples & FB09 - FB10\\
\hline
	recordsOccupied & FB09 - FB10\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
inflactionIndexAverage() : double & FB12 - FB13\\
\hline
fileSystemDimension() : int & FB12 - FB13\\
\hline
start() : void & FB11 - FB12 - FB13\\
\hline
getRecordsNumber(String id) : int & FB11 - FB12 - FB13\\
\hline
calculateAddress(long partDimension) : int & FB11 - FB12 - FB13\\
\hline
open(Element simulationRoot) : void & FB15\\
\hline
save(Element simulationRoot) : void & FB14\\
\hline
viewMaxFile()	: void & FB11\\
\hline
getConfigurationValues() : Vector &  FB01 - FB02 - FB03 - FB09\\
\hline
getResultsValues() : Vector & FB11 - FB12 - FB13\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\paragraph{Classe File}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
 	id & FP01\\
\hline
	dimension & FP01\\
\hline
	exponent & FP01\\
\hline
	averageBlocks & FB07\\
\hline
	selectedAdvanced & FP01\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Metodo} & \textbf{Requisito associato}\\
\hline
	getSize() : long & FP01\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\paragraph{Classe Section}

\begin{center}
\begin{tabular}{l}
\begin{tabular}{|p{5.3cm}|p{7.0cm}|}
\hline
\textbf{Attributo} & \textbf{Requisito associato}\\
\hline
	id & FP01\\
\hline
	first & FP01\\
\hline
	length & FP01\\
\hline
\end{tabular}
\end{tabular}
\end{center}

\end{document}